﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Areas/Administrator/Views/Shared/AdminMasterPage.master"
    Inherits="System.Web.Mvc.ViewPage<easyccms.WebUI.Areas.Administrator.Models.MenuModel>" %>
<%@ Import Namespace="easyccms.General.HtmlHelpers" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <div id="main-content">
        <div class="title title-spacing">
            <h2>
                Add menu</h2>
            Adding main menus
        </div>
        
        <% 
            Html.EnableClientValidation();
            using (Html.BeginForm()){
            
                  
        %>
      <%Html.ValidationSummary(true);%>
      <%=Html.ValidationSummary(true)%>
        
        <ul>
            <%= Html.CcTextBoxFor(model => Model.Menu.Name, "desc", new { @class = "field text large" })%>
            <%= Html.CcTextBoxFor(model => Model.Menu.Alt, "desc", new { @class = "field text large" })%>
            <%= Html.CcDropDownFor(model => model.Menu.ContainerName, Model.MenuContainers, "desc", new { @class = "field select large" })%>
            <%= Html.CcDropDownFor(model => model.Menu.UserGroup.UserGroupId, Model.UserGroups, "desc",new{@class = "field select large"})%>
           
          
            <li class="buttons">
                <input type="submit" class="submit" value="Submit" />
            </li>
        </ul>
        <% }
        %>
        <div class="clearfix">
        </div>        
    </div>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="HeadPlaceHolder" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="JavaScriptHolder" runat="server">
    <script src="../../../../Scripts/jquery-1.4.1.min.js" type="text/javascript"></script>
    <script src="../../../../Scripts/MicrosoftAjax.js" type="text/javascript"></script>
    <script src="../../../../Scripts/MicrosoftMvcAjax.js" type="text/javascript"></script>
    <script src="../../../../Scripts/MicrosoftMvcValidation.js" type="text/javascript"></script>

</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="MainContentPlaceHolder" runat="server">
</asp:Content>
